<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<title>查看会员信息</title>
<link href="css/css-main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main-con">
  <!--//导航位置层-->
  
      <div class="main-bar"><span class="bar-position">当前位置：<a href="#">会员管理</a> &gt;&gt; 会员信息管理 &gt;&gt; 查看会员信息</span></div>
    <div class="cont_right_cont">
      <fieldset>
      <legend>查看会员信息</legend>
      <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="23%" align="right">一卡通卡号：</td>
            <td width="27%"><span style="padding:0px">
              <input name="textfield2" type="text" class="data-searchtxt-runtime"id="textfield2" size="40" value="<s:property value="customer.cardNo"/>" disabled />
            </span></td>
            <td width="50%" rowspan="12" align="center"><img src="<s:property value="customer.photoPath"/>" alt="" name="照片" width="100" height="100" id="照片" style="background-color: #999999"></td>
            </tr>
           <!--  
          <tr>
            <td align="right">一卡通卡号：</td>
            <td><span style="padding:0px">
              <input name="textfield2" type="text" class="data-searchtxt-runtime"id="textfield2" size="40" value="<s:property value="customer.cardNo"/>" disabled />
            </span></td>
          </tr>
          -->
          <tr>
            <td align="right">用户名：</td>
            <td><span style="padding:0px">
              <input name="textfield3" type="text" class="data-searchtxt-runtime"id="textfield3" size="40" value="<s:property value="customer.custName"/>" disabled />
            </span></td>
            </tr>
          <tr>
            <td align="right">性别：</td>
            <td><span style="padding:0px">
            <s:if test="customer.custName == 0">
            	<input name="textfield4" type="text" class="data-searchtxt-runtime"id="textfield4" size="40" value="男" disabled />
            </s:if>
            <s:else>
            	<input name="textfield4" type="text" class="data-searchtxt-runtime"id="textfield4" size="40" value="女"disabled />
            </s:else>
            </span></td>
            </tr>
          <tr>
            <td align="right">籍贯：</td>
            <td><span style="padding:0px">
              <input name="textfield5" type="text" class="data-searchtxt-runtime"id="textfield5" size="40" value="<s:property value="customer.nationality"/>" disabled />
            </span></td>
            </tr>
          <tr>
            <td align="right">证件类型：</td>
            <td>
            <s:if test="customer.typeID == 1">
			 <input name="textfield6" class="data-searchtxt-runtime" id="textfield6" size="40" value="身份证" disabled />
			</s:if>
			<s:elseif test="customer.typeID == 2">
			 <input name="textfield6" class="data-searchtxt-runtime" id="textfield6" size="40" value="军官证" disabled />
			</s:elseif>
			<s:else>
			 <input name="textfield6" class="data-searchtxt-runtime" id="textfield6" size="40" value="其他证件" disabled />
			</s:else>
            </td>
          </tr>
          <tr>
            <td align="right">证件号：</td>
            <td><span style="padding:0px">
              <input name="textfield" type="text" class="data-searchtxt-runtime"id="textfield" size="40" value="<s:property value="customer.numberID"/>" disabled/>
            </span></td>
          </tr>
          <tr>
            <td align="right">会员级别：</td>
            <td><input name="textfield7" class="data-searchtxt-runtime" id="textfield7" size="40" value="<s:property value="customer.clientLevelId.clientLevelName"/>" disabled />
            </td>
          </tr>
          <tr>
            <td align="right">职业：</td>
            <td><span style="padding:0px">
            <input name="textfield" class="data-searchtxt-runtime" id="textfield" size="40" value="<s:property value="customer.profession"/>" disabled />
            </span>
            </td>
          </tr>
          <tr>
            <td align="right">联系电话：</td>
            <td><span style="padding:0px">
              <input name="textfield8" type="text" class="data-searchtxt-runtime"id="textfield8" size="40" value="<s:property value="customer.tel"/>" disabled />
            </span></td>
          </tr>
          <!-- 
          <tr>
            <td align="right">个人爱好：</td>
            <td><span style="padding:0px">
              <input name="textfield9" type="text" class="data-searchtxt-runtime"id="textfield9" size="40" value="<s:property value="customer.personalHobby"/>" disabled />
            </span></td>
          </tr>
           -->
          <tr>
            <td align="right">&nbsp;注册（入职）日期：</td>
            <td><span style="padding:0px">
              <input name="textfield9" type="text" class="data-searchtxt-runtime"id="textfield9" size="40" value="<s:property value="customer.registrationDate"/>" disabled /></span></td>
          </tr>
        </table>
        <div>
          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              
              <td align="center"><a href="cms/customer/doQuery.do"><input name="button" type="submit" class="btn-Yes" id="button" value="返  回" ></a></td>
            </tr>
          </table>
        </div>
      </div>
      </fieldset>
    </div>
</div>
</body>
</html>
